<?php
	$q='select * from tintuc';
	$r=mysqli_query($dbc,$q);
	while($f=mysqli_fetch_array($r)){
?>
<figure style="width:100px;height:120px; float:left;text-align:center">
<?php echo $f['Tieude']; ?>
<img src="<?php echo $f['anh1']; ?>"/>
<figcaption>
<?php echo $f['Noidung']; ?>
</figcaption>
</figure>
<?php } ?>
